Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme: check auth #222

Merged
merged 1 commit into from
Jun 12, 2023
Merged

readme: check auth #222

merged 1 commit into from
Jun 12, 2023

Conversation

emersion
Copy link
Owner

@emersion emersion commented Apr 5, 2023

By design, go-smtp won't check whether the session is authenticated during MAIL/RCPT/DATA commands. Make this more explicit by checking whether the session is authenticated in the example.

Closes: #216

By design, go-smtp won't check whether the session is authenticated
during MAIL/RCPT/DATA commands. Make this more explicit by checking
whether the session is authenticated in the example.

Closes: #216
@emersion emersion merged commit 9e949e0 into master Jun 12, 2023
@emersion emersion deleted the example-check-auth branch June 12, 2023 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Auth should be mandatory for MAIL, RCPT & DATA commands when server.AuthDisabled is false
1 participant